import logging
from openpyxl import load_workbook

logging.basicConfig(format='%(asctime)s.%(msecs)03d [%(levelname)s] [%(filename)s:%(lineno)d] %(message)s', datefmt='%Y-%m-%d %H:%M:%S')

logging.getLogger().setLevel(logging.INFO)
logger = logging.getLogger()

class ExcelExtractor:
    """报告模板解析器，可以解析"""
    def read_excel(self):
        pass

    def data_cell_identify(self):
        """
        第一步， 确定每一行最左边的数据位置，该位置满足以下两个条件：
            (i)包含文字
            (ii)文字不为空
        """
        pass

logger.debug("This is a debug log")
logger.info("This is an info log")
logger.critical("This is critical")
logger.error("An error occurred\n")
